from enum import Enum

class DiaLogResult(Enum):
    """ 声明开窗按钮事件的返回枚举类型 """
    OK = 0
    Cancel = 1
    true = 3
    false = 4


class Result:
    def __init__(self,msgType:DiaLogResult,MsgText:str="") -> None:
        self.type = msgType
        self.data = MsgText